package com.buka.service;

import com.buka.pojo.CinemaHouse;
import com.buka.utils.ResponseJson;

import javax.servlet.http.HttpSession;
import java.util.Date;

/**
 * CinemaService 接口类
 */
public interface CinemaService {

    /**
     * 影院端登录
     */
    ResponseJson login(String username, String password, HttpSession httpSession);


    /**
     * 添加影厅
     */
    ResponseJson addHouse(CinemaHouse cinemaHouse, HttpSession httpSession);

    /**
     * 影厅列表
     */
    ResponseJson getHouseList(HttpSession httpSession);

    /**
     * 设置排片
     */
    ResponseJson addArrange(int movieId, int houseId, Date startTime, int money, HttpSession session);

    /**
     * 电影列表(能放映)
     */
    ResponseJson getMovieList();
}
